<?php // (gethostbyname($_SERVER['HTTP_HOST'])!='67.43.157.85')?exit('Invalid Host'):'';?><?php

function gostcategoryname($cat_title, $cat_id, $catimg) {
global $themepath, $bgcolor2;
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr><td width=\"100%\">"
  . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr><td height=\"26\" width=\"1\">"
  . "<img border=\"0\" src=\"".$themepath."modules/sp/themes/images/n_01.gif\" width=\"1\" height=\"26\"></td><td height=\"26\" background=\"".$themepath."modules/sp/themes/images/nbg_01.gif\">"
  . "<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\"><tr><td width=\"7\">"
  . "<img border=\"0\" src=\"".$themepath."modules/sp/themes/images/n_02.gif\" width=\"7\" height=\"26\"></td><td style=\"padding-left:3; padding-right: 3; border-left-width: 1; border-right-width: 1; border-top: 1px solid #D1D1D1; border-bottom-width: 1\" bgcolor=\"#FFFFFF\" class=\"A_bl\">"
  . "$cat_title</td><td width=\"43\"><img border=\"0\" src=\"".$themepath."modules/sp/themes/images/n_03.gif\" width=\"43\" height=\"26\"></td>"
  . "</tr></table></td></tr></table></td></tr></table>";
}

function blockcentersp($pic, $goodstitle, $addition, $price, $pid) {
global $themepath;
echo"<table border=\"0\" cellspacing=\"5\" cellpadding=\"4\" align=center width=\"100%\">\n<tr><td style=\"border-style: solid; border-width: 1px\">\n"
  . "<table border=\"0\" cellspacing=\"0\" align=center width=\"100%\">\n<tr>\n"
  . "<td align=center>$pic</td></tr><tr><td align=center><font class=storytitle>$goodstitle</font></td></tr><tr><td align=center>$addition</td></tr><tr><td align=center>$price</td></tr><tr><td align=center>\n"
  . "<a href=\"".$themepath."modules.php?name=sp&go=goods&pid=$pid\">"._GOODSMORE."</a> |\n"
  . "<a href=\"".$themepath."modules.php?name=sp&go=basket&pid=$pid\">"._ADDBASK."</a></td>\n</tr>\n</table>\n</td></tr>\n</table>\n\n";
}

?>